<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>loding</title>
  </head>
  
  <body>
  
    <div style="margin-top: 4%;margin-left: 35%;">
    	<span id="djs" style="font-size: 30px;"></span>
    </div>	
  
    <script type="text/javascript">
     var i = 3;  
        var intervalid;  
        intervalid = setInterval("fun()", 1000);  
        function fun() {  
            if (i == 0) {  
                window.location.href = "${pageContext.request.contextPath}Sy/adminadduser.html";  
                clearInterval(intervalid);  
            }  
            document.getElementById("djs").innerHTML = '<img src="${pageContext.request.contextPath}/images/loading.gif"/>' +i+"秒";  
            i--;   
        } 
    	//window.location.href = "${pageContext.request.contextPath}/user/adduser",30;
    </script>
  </body>
</html>
